package com.qfedu.buy.server.service.intf;

import com.qfedu.buy.common.dto.SkillOrderAddDto;
import com.qfedu.buy.common.vo.R;
import com.qfedu.buy.server.entity.SkillOrder;

/**
 * @program: NeighborBuy
 * @description:
 * @author: Feri(邢朋辉)
 * @create: 2021-02-05 09:41
 */
public interface SkillOrderService {
    //生成秒杀订单
    R saveOrderV1(int uid, SkillOrderAddDto dto);

    //生成秒杀订单
    R saveOrderV2(int uid,String path, SkillOrderAddDto dto);

    //同步数据
    boolean save(SkillOrder order);
    //超时订单处理
    boolean ordertimeout(long oid);
    //实现url动态化
    R getpath(int uid,int gid);
}